import Taro from '@tarojs/taro'
import { Component } from 'react'
import './style/main.scss'
import './app.less'

import request from './utils/request'
import api from './utils/api'

class App extends Component {
  async getStatus () {
    await request(api.moneyRecord, 'GET', {
    })
  }
  onLaunch(options) {
    // this.getStatus()
  }
  componentDidMount() {
  }
  componentDidShow () {}

  componentDidHide () {}

  componentDidCatchError () {}

  // this.props.children 是将要会渲染的页面
  render () {
    return this.props.children
  }
}

export default App
